package TP.TPJU;

public class Salle {

	private String nom;
	private int nbPlace;
	
	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public int getNbPlace() {
		return nbPlace;
	}

	public void setNbPlace(int nbPlace) {
		this.nbPlace = nbPlace;
	}
	public Salle(String nom){
		this.nom = nom;
		nbPlace = 0;
	}
	
	public Salle(String nom, int nbPlace){
		this(nom);
		this.nbPlace = nbPlace;
	}
	
	
}
